<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>ws client</title>
</head>
<body>
<script>
    let ws = new WebSocket("ws://localhost:8080/myWs1")
    ws.onopen=function (){
        ws.send("hello world!")
    }

    ws.onmessage=function (message){
        console.log('>>> ', message)
    }
</script>
</body>
</html>